home *** CD-ROM | disk | FTP | other *** search
/ PC go! 2008 April / PCgo 2008-04 (DVD).iso / interface / contents / demoversionen_3846 / 13664 / files / Data1.cab / gxext.idl < prev    next >
Encoding:
Text File  |  2006-04-04  |  2.6 KB  |  135 lines

  1. // GXExt70.idl : IDL source for GXExt70.dll
  2. //
  3.  
  4. // This file will be processed by the MIDL tool to
  5. // produce the type library (GXExt70.tlb) and marshalling code.
  6.  
  7. import "oaidl.idl";
  8. import "ocidl.idl";
  9.  
  10.     [
  11.          object
  12.         ,uuid(6A482101-E531-11CF-A115-00A024158DAF)
  13.         ,dual
  14.         ,helpstring("IBoolean3D Interface to perform boolean operation. Extension of the IMSIGX object model.")
  15.     ]
  16.     interface IBoolean3D : IDispatch
  17.     {
  18.         [
  19.              id(1)
  20.             ,helpstring("Boolean Add")
  21.         ]
  22.         HRESULT Add            (
  23.              [in]            IDispatch*    pGr1
  24.             ,[in]            IDispatch*    pGr2
  25.             ,[out, retval]    IDispatch**    prop
  26.             );
  27.  
  28.         [
  29.              id(2)
  30.             ,helpstring("Boolean Subtract")
  31.         ]
  32.         HRESULT Subtract    (
  33.              [in]            IDispatch*    pGr1
  34.             ,[in]            IDispatch*    pGr2
  35.             ,[out, retval]    IDispatch**    prop
  36.             );
  37.         
  38.         [
  39.              id(3)
  40.             ,helpstring("Boolean Intersection")
  41.         ]
  42.         HRESULT Intersection(
  43.              [in]            IDispatch*    pGr1
  44.             ,[in]            IDispatch*    pGr2
  45.             ,[out, retval]    IDispatch**    prop
  46.             );
  47.     };
  48.  
  49.     [
  50.          object
  51.         ,uuid(6A482102-E531-11CF-A115-00A024158DAF)
  52.         ,dual
  53.         ,helpstring("IDwgEx Interface. Extension of the IMSIGX object model.")
  54.     ]
  55.     interface IDwgEx : IDispatch
  56.     {
  57.         [
  58.              id(1)
  59.             ,helpstring("Open inserted source file ")
  60.         ]
  61.         HRESULT OpenFile(
  62.             [in]            BSTR bstrFileName
  63.             );
  64.  
  65.         [
  66.              id(2)
  67.             ,helpstring("Insert source file into drawing")
  68.         ]
  69.         HRESULT RunMerge(
  70.              [in]            IDispatch*    pDwgTrg
  71.             ,[in]            BOOL        bGrsOnly
  72.             ,[out, retval]    IDispatch**    ppIDispGr
  73.             );
  74.  
  75.         [
  76.              id(3)
  77.             ,helpstring("Get Graphics collection of the specified space.")
  78.         ]
  79.         HRESULT GetSpaceGraphics(
  80.              [in]            IDispatch*    pDrawing
  81.             ,[in]            VARIANT*    pvarSpace
  82.             ,[out, retval]    IDispatch** prop
  83.             );
  84.  
  85.         [
  86.              id(4)
  87.             ,helpstring("Get PartTree Graphic for the specified model graphic.")
  88.         ]
  89.         HRESULT GetPartTree(
  90.              [in]            IDispatch*    pDrawing
  91.             ,[in]            VARIANT*    pvarGr
  92.             ,[out, retval]    IDispatch** prop
  93.             );
  94.  
  95.         [
  96.              id(5)
  97.             ,helpstring("Update PartTree for drawing.")
  98.         ]
  99.         HRESULT UpdatePartTree(
  100.              [in]            IDispatch*    pDrawing
  101.             ,[in]            VARIANT*    pvarGrMS
  102.             ,[in]            VARIANT*    pvarGrPT
  103.             ,[in]            VARIANT_BOOL bRegenOnly
  104.             );
  105.     };
  106.  
  107. [
  108.      uuid(6A482400-E531-11CF-A115-00A024158DAF)
  109.     ,version(8.0)
  110.     ,helpstring("GXExt 8.0 Type Library, IMSIGX extension.")
  111. ]
  112. library GXEXTLib
  113. {
  114.     importlib("stdole32.tlb");
  115.     importlib("stdole2.tlb");
  116.  
  117.     [
  118.         uuid(6A482001-E531-11CF-A115-00A024158DAF),
  119.         helpstring("Boolean3D Class")
  120.     ]
  121.     coclass Boolean3D
  122.     {
  123.         [default] interface IBoolean3D;
  124.     };
  125.     [
  126.         uuid(6A482002-E531-11CF-A115-00A024158DAF),
  127.         helpstring("DwgEx Class")
  128.     ]
  129.     coclass DwgEx
  130.     {
  131.         [default] interface IDwgEx;
  132.     };
  133.  
  134. };
  135.